package com.sakura.mall.ware.undoLog.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.ware.undoLog.domain.entity.UndoLogEntity;
import com.sakura.mall.ware.undoLog.domain.request.AddUndoLogRequest;
import com.sakura.mall.ware.undoLog.domain.request.UpdateUndoLogRequest;
import com.sakura.mall.ware.undoLog.domain.request.UndoLogPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.ware.undoLog.domain.vo.UndoLogVo;

/**
 *  service
 *
 * @author sakura
 */
public interface UndoLogService extends IService<UndoLogEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<UndoLogVo> queryPage(UndoLogPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddUndoLogRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateUndoLogRequest request);
}
